package edu.geo.protocol;

import java.io.Serializable;

import org.codehaus.jackson.annotate.JsonWriteNullProperties;

import edu.geo.containers.GeoJson;
import edu.geo.containers.Grid;

/**
 * 
 * @author alejandro.sanchez
 * 
 * Interface para especificación de propiedades en el protocolo de petición y 
 * respuesta de la aplicación
 *
 */
@JsonWriteNullProperties(false)
public class Properties implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 4842579047192760166L;
		
	//Petición adicionar dominio geométrico
	private String id;
	private String user;
	private Grid grid;		
	//Respuesta dominio geométrico
	private String domainId;	
	private String result;	
	private GeoJson geomObjects;
	private String name;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUser() {
		return user;
	}
	public void setUser(String user) {
		this.user = user;
	}
	
	public Grid getGrid() {
		return grid;
	}
	public void setGrid(Grid grid) {
		this.grid = grid;
	}
	
	public String getDomainId() {
		return domainId;
	}
	public void setDomainId(String domainId) {
		this.domainId = domainId;
	}
	public String getResult() {
		return result;
	}
	public void setResult(String result) {
		this.result = result;
	}
	public GeoJson getGeomObjects() {
		return geomObjects;
	}
	public void setGeomObjects(GeoJson geomObjects) {
		this.geomObjects = geomObjects;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	
	
}